#ifndef __DEBUG_H
#define __DEBUG_H

#define DEBUG_PRINTF printf
#define DEBUG_PRINTF_STATUS(curr, cnt, next) printf("%s:%d(%d)->%d;\r\n", __FUNCTION__, curr, cnt, next)
#define STACK_PRINTF printf
#define PRINTF printf
#define WEB_PRINTF printf
#define PING_PRINTF printf
#define MEASURE_PRINTF(fmt, args...)         printf("%s():"fmt,__FUNCTION__, ## args)	

#define __DEBUG
#ifdef __DEBUG
		#define __DBG(fmt, args...) printf("DBG:%s():" fmt, __FUNCTION__, ## args)
#else
	#define __DBG(fmt, args...)
#endif
#define __ERR(fmt, args...) printf("ERR:" fmt, ## args)
#define __MSG(fmt, args...) printf(fmt, ##args)

	
#endif
